package com.syh.jn.scm.dto.operation.supplier;

import lombok.Data;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 添加供应商账号(运营端)
 */
@Data
public class OperaSupplierAccountMto implements Serializable {
  /**
   * id
   */
  @NotNull(message = "accountId 不能为空")
  private Long id;
  /**
   * businessEntityId
   */
  @NotNull(message = "businessEntityId 不能为空")
  private Long businessEntityId;
  /**
   * 登录账号
   */
  @NotBlank(message = "登录账号不能为空")
  private String loginAccount;
  /**
   * 登录密码 为空则不修改
   */
  private String loginPassword;
}
